package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.TicketRecord;
import org.hxyjs.entity.TicketRecordExample;

public interface TicketRecordMapper {
    long countByExample(TicketRecordExample example);

    int deleteByExample(TicketRecordExample example);

    int deleteByPrimaryKey(String arcno);

    int insert(TicketRecord record);

    int insertSelective(TicketRecord record);

    String getMaxArcno();

    List<TicketRecord> getTicketRecordByPage(Map<String, Object> map);

    List<TicketRecord> selectByExample(TicketRecordExample example);

    TicketRecord selectByPrimaryKey(String arcno);

    int updateByExampleSelective(@Param("record") TicketRecord record, @Param("example") TicketRecordExample example);

    int updateByExample(@Param("record") TicketRecord record, @Param("example") TicketRecordExample example);

    int updateByPrimaryKeySelective(TicketRecord record);

    int updateByPrimaryKey(TicketRecord record);
}